package com.sy.bean.message;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("商品表")
public class Goods {
    @ApiModelProperty("商品id")
    Integer id;

    @ApiModelProperty("商品编码")
    String code;

    @ApiModelProperty("商品名称")
    String name;

    @ApiModelProperty("商品分类编码")
    String categoryCode;

    @ApiModelProperty("商品分类名称")
    String categoryName;

    @ApiModelProperty("商品图片路径")
    String pictureUrl;

    @ApiModelProperty("商品视频路径")
    String video;

    @ApiModelProperty("商品卖点")
    String selling;

    @ApiModelProperty("商品规格")
    String spec;

    @ApiModelProperty("库存单位")
    String unit;

    @ApiModelProperty("商品进价")
    Double enterPrice;

    @ApiModelProperty("商品售价")
    Double price;

    @ApiModelProperty("状态")
    Integer status;

    @ApiModelProperty("商品毛重")
    Double grossWeight;

    @ApiModelProperty("商品产地")
    String origin;

    @ApiModelProperty("像素")
    String px;

    @ApiModelProperty("类型")
    String type;

    @ApiModelProperty("照片输出")
    Integer photoOutput;

    @ApiModelProperty("适用场景")
    Integer scenarios;

    @ApiModelProperty("适用对象")
    Integer eligibility;

    @ApiModelProperty("配送方式")
    Integer method;

    @ApiModelProperty("发货地")
    String address;

    @ApiModelProperty("运费设置")
    String freight;

    @ApiModelProperty("售后服务")
    String service;

    @ApiModelProperty("上架")
    Integer shelves;

    @ApiModelProperty("开售时间")
    String onsaleTime;

    @ApiModelProperty("限购")
    Integer goodsLimit;

    @ApiModelProperty("销量")
    Integer sales;

    @ApiModelProperty("是否推广")
    Integer popularize;

    @ApiModelProperty("创建时间")
    String createTime;

    @ApiModelProperty("更新时间")
    String updateTime;

    @ApiModelProperty("商品详情")
    String goodsDetail;

    @ApiModelProperty("规格详情")
    List<GoodsSpec> goodsSpecList;
}
